import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import state from './state'
import mutation from './mutation/userinfo'

export default function(){
  const store = new Vuex.Store({
    state:state,
    mutations:mutation
  })
  return store
}
